﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using BKH.BLL;

namespace BKH.MyUserControl.UCHienThi
{
    public partial class UCHienThiDanhSachBN : UserControl
    {
        BenhNhanBUO bnbuo = new BenhNhanBUO();
        public UCHienThiDanhSachBN()
        {
            InitializeComponent();
            ShowData();
        }
        
        private void groupBox1_Enter(object sender, EventArgs e)
        {
            
        }
        void ShowData()
        {
            dataGridView1.AutoGenerateColumns = false;
            dataGridView1.DataSource = bnbuo.GetAll();
        }
    }
}
